<template>
    <!-- 头部 -->
    <header class="top">
            <div class="t-left iconfont icon-arrow-left" @click="$router.back()"></div>
            <!-- <h3 class="">小U商城</h3> -->
            <slot></slot>
            <div class="t-right iconfont icon-xiaochengxu"></div>
    </header>
</template>

<script>
export default {};
</script>

<style  scoped>
.top {
    width: 7.5rem;
    height: 0.88rem;
    display: flex;
    position: fixed;
    z-index: 100;
    top: 0;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    background: #FF6040;
}
/* 顶部左右按钮 */
.t-left {
    width: 1.2rem;
    margin: 0px 0.32rem;
    font-size: 0.34rem;
}

.top h3 {
    font-family: Helvetica;
    font-size: 0.36rem;
    font-weight: normal;
    text-align: center;
}

.t-right {
    width: 1.74rem;
    margin-right: 0.12rem;
    font-size: 0.62rem;
    line-height: 0.62rem;
    background: rgba(255, 119, 51, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0.81rem;
}
</style>
